/* Admin Menu Editor CSS file */  

.ws_main_container {
	margin:  2px;
	width: 310px;
	float: left;
	display:block;
	border: 1px solid #cdd5d5;
	
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.ws_box {
	min-height: 30px;
	width: 100%;
	margin: 0;
	padding-top: 2px;
	padding-bottom: 4px;
}

#ws_menu_box {
}

#ws_submenu_box {
}

/*
 * The sidebar
 */

#ws_editor_sidebar {
	width: auto;
	padding: 2px;
}

#ws_editor_sidebar .ws_main_button {
	clear: both;
	display: block;
	margin: 4px;
	width: 120px;
}

#ws_editor_sidebar #ws_save_menu {
	margin-bottom: 20px;
}

#ws_editor_sidebar #ws_export_menu {
	margin-top: 12px;
}

/*
 * Menu components and widgets
 */

.ws_container {
	display: block;
	width: 290px;
	
	padding : 3px;
	margin: 2px;
	margin-left: auto;
	margin-right: auto;
	
	border: 1px solid #a9badb;
	background-color: #bdd3ff;
}

.ws_active {
	background-color : #8eb0f1 !important; /* make sure this overrides ws_menu_separator */
}

.ws_menu { }
.ws_item { }

.ws_menu_separator {
	background-image: url("../images/menu-arrows.png");
	background-repeat: no-repeat;
	background-position : 4px 8px;
	background-color: #F9F9F9;
	border-color: #d9d9d9;
}

.ws_submenu {
	min-height: 2em;
}


.ws_item_head {
	padding: 0;
}

.ws_item_title {
	display: block;
	padding: 2px;
	cursor: default;
}

.ws_edit_link {
	float: right;
	margin-right: 0px;
	cursor: pointer;
	display:block;
	width: 40px;
	height: 22px; 
	
	background-image: url('../images/bullet_arrow_down2.png'); 
	background-repeat: no-repeat;
	background-position: center;
	
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

a.ws_edit_link:hover {
	background-color: #ffffd0;
	background-image: url('../images/bullet_arrow_down2.png');
}

.ws_edit_link:active {
	background-repeat: no-repeat;
	background-position: center;
}

.ws_edit_link_expanded {
	background-color: #ffffd0;
	border-bottom: none;
	border-color: #ffffd0;
	
	background-image: url('../images/bullet_arrow_down2.png');
	padding-bottom: 1px;
	background-position: center 3px;
	
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	
	-moz-border-radius-bottomright: 0;
	-moz-border-radius-bottomleft: 0;
	
	-webkit-border-bottom-right-radius: 0;
	-webkit-border-bottom-left-radius: 0;
}


.ws_menu_drop_hover {
	background-color: #43b529 !important;
}

.ws_container.ui-sortable-helper * {
	cursor: move !important;
}

/****************************************
    Per-menu settings fields & panels
*****************************************/

.ws_editbox {
	display: block;
	background-color: #ffffd0;  
	padding: 4px;
	
	border-radius: 2px;
	border-top-right-radius: 0px;

	-moz-border-radius: 2px;	
	-moz-border-radius-topright: 0px;

	-webkit-border-radius: 2px;
	-webkit-border-top-right-radius: 0px;
}

.ws_edit_panel {
    margin: 0;
    padding: 0;
    border: none;
}

.ws_edit_field {
	margin-bottom: 8px;
	height: 42.2px;
}

.ws_edit_field-custom {
	margin-top: 10px;
}

/* The reset-to-default button */
.ws_reset_button {
	display: block;
	float: right;
	
	margin-left: 4px;
	margin-top: 2px;
	margin-right: 6px;
	cursor: pointer;

	width: 16px;
	height: 16px;
	vertical-align: top;
		
	background-image: url("../images/pencil_delete_gray.png");
	background-repeat: no-repeat;
	background-position: center;
}

.ws_reset_button:hover {
	background-image: url("../images/pencil_delete.png");
}

.ws_input_default input, .ws_input_default select {
	color: gray;
}

/* No reset button for fields set to the default value */ 
.ws_input_default .ws_reset_button {
	visibility: hidden;
}

/* The input box in each field editor */
#ws_menu_editor .ws_editbox input[type="text"], 
#ws_menu_editor .ws_editbox select {
	display: block;
	float: left;
	width: 254px;

	font-size: 12px;
	padding: 3px;
}

#ws_menu_editor .ws_edit_field label {
	display: block;
	float: left;
}

#ws_menu_editor .ws_edit_field-custom input[type="checkbox"] {
	margin-top: 0px;
}

/* Dropdown button for combo-box fields */
#ws_menu_editor .ws_dropdown_button {
	display : block;
	float: left;
	
	width: 20px;
	height: 22px;
	
	margin: 1px 1px 1px 0;
	padding: 0;
	
	text-align: center;
	vertical-align: middle;
	font-size: 9px !important;
	
	border-color: #dfdfdf;
	
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
	
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 3px;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-bottomleft: 0px;
	
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	-webkit-border-top-left-radius: 0px;
	-webkit-border-bottom-left-radius: 0px;
}

/* 
The appearance and size of combobox fields need to be changed 
to accomodate the dropdown button.
*/
#ws_menu_editor .ws_has_dropdown input.ws_field_value {
	width: 230px;
	margin-right: 0;
	border-right: 0;
	
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;

	-moz-border-radius-topright: 0px;
	-moz-border-radius-bottomright: 0px;

	-webkit-border-top-right-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
}

/* Unlike others, this field is just a single checkbox, so it has a smaller height */
#ws_menu_editor .ws_edit_field-custom {
	height: 16px;
}

/*
 * "Show/hide advanced fields" 
 */
.ws_toggle_container {
	text-align: right;
	margin-right: 27px;
}

.ws_toggle_advanced_fields {
	color: #6087CB;
	text-decoration: none;
	font-size: 0.85em;
}

.ws_toggle_advanced_fields:visited, .ws_toggle_advanced_fields:active {
	color: #6087CB;
}

.ws_toggle_advanced_fields:hover {
	color: #d54e21;
	text-decoration: underline;
}

/************************************
            Menu flags
*************************************/

.ws_flag_container {
	float: right;
	margin-right: 4px;
	padding-top: 2px;
}

.ws_flag {
	display: block;
	float: right;
	width: 16px;
	height: 16px;
	margin-left: 4px;
	background-repeat: no-repeat;
}

/* user-created items */
.ws_custom_item_flag {
	background-image: url('../images/page-add.png');
}

/* items not present in the default menu */
.ws_missing_flag {
	background-image: url('../images/plugin_error.png');
}

/* unused items - those that are in the default menu but not in the custom one */
.ws_unused_flag {
	background-image: url('../images/plugin_add.png');
}

/* hidden items */
.ws_hidden_flag {
	background-image: url('../images/icon-extension-grey.png');
}

/* These classes could be used to apply different styles to items depending on their flags */
.ws_missing { } 
.ws_custom_item { }
.ws_hidden { }
.ws_unused { }


/************************************
            Toolbars
*************************************/

.ws_toolbar {
	display: block;
	width: 100%;
	height: 34px;
}

.ws_button_container {
	padding-left: 6px;
	padding-top: 6px;
}

.ws_button {
	display: block;
	margin-right: 3px;
	padding: 4px;
	border: 1px solid #c0c0e0;
	float: left;

    width: 16px;
    height: 16px;
	
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

a.ws_button:hover {
	background-color: #d0e0ff;
	border-color: #9090c0;
}

.ws_separator {
	float: left;
	width: 5px;
}

/************************************
       Capability selector
*************************************/

#wpbody select.ws_dropdown {
	width: 252px;
	height: 20em;
	
	z-index: 1002;
	position: absolute;
	display: none;
	
	font-family : "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
	font-size: 12px;
}

#wpbody select.ws_dropdown option {
	font-family : "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
	font-size: 12px;
	padding: 3px;
}

#wpbody select.ws_dropdown optgroup option {
	padding-left: 10px;
}

/************************************
           Icon selector
*************************************/

#ws_icon_selector {
	border: 1px solid silver;
	border-radius: 3px;
	background-color: white;
	width: 144px;
	padding: 2px;
    position: absolute;
}

#ws_icon_selector .ws_icon_option {
	float: left;
	height: 30px;

	margin: 2px;
	cursor: pointer;
	border: 1px solid #bbb;
	border-radius: 3px;

	/* Gradients and colours cribbed from WP 3.5.1 button styles */
	background: #f3f3f3;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#f4f4f4));
	background-image: -webkit-linear-gradient(top, #fefefe, #f4f4f4);
	background-image:    -moz-linear-gradient(top, #fefefe, #f4f4f4);
	background-image:      -o-linear-gradient(top, #fefefe, #f4f4f4);
	background-image:   linear-gradient(to bottom, #fefefe, #f4f4f4);
}

#ws_icon_selector .ws_icon_option:hover {
	/* Gradients and colours cribbed from WP 3.5.1 button styles */
	border-color: #999;
	background: #f3f3f3;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3));
	background-image: -webkit-linear-gradient(top, #fff, #f3f3f3);
	background-image:    -moz-linear-gradient(top, #fff, #f3f3f3);
	background-image:     -ms-linear-gradient(top, #fff, #f3f3f3);
	background-image:      -o-linear-gradient(top, #fff, #f3f3f3);
	background-image:   linear-gradient(to bottom, #fff, #f3f3f3);
}

#ws_icon_selector .ws_icon_option.ws_selected_icon {
	border-color: green;
	background-color: #deffca;
	background-image: none;
}

#ws_icon_selector .icon16 {
	float: none;
	margin: 0;
}

#ws_icon_selector .ws_icon_option img {
	display: inline-block;
	margin: 0;
	padding: 7px;

	width: 16px;
	height: 16px;
}

#ws_menu_editor .ws_edit_field-icon_url input.ws_field_value {
	width: 220px;
	margin-right: 5px;
}

/* The icon button that displays the pop-up icon selector. */
#ws_menu_editor .ws_select_icon {
	margin: 0;
	padding: 0;
	position: relative;
}

/* Current icon node (CSS class version, for the built-in WP icon sprites) */
.ws_select_icon .icon16 {
	margin: 0;
	float: none;
	padding: 3px;

	/*
	The default .icon16 style has a 6px padding which would normally make it too large
	to fit in the button. We can't change the padding without making the background-position
	look wrong, so lets offset the icon so that it fits.
	*/
	position: relative;
	top: -3px;
	left: -3px;
}

/* Current icon node (image version) */
.ws_select_icon img {
	margin: 0;
	padding: 4px;
	width: 16px;
	height: 16px;
}

/* MP6 admin style compatibility */
#ws_icon_selector .ws_icon_option .icon16::before {
    margin: 0;
    padding: 0;
}
.ws_select_icon .icon16::before {
    padding: 0;
    margin: 1px 0 0 2px;
}

#ws_choose_icon_from_media {
	margin: 2px;
}

/************************************
           Export and import
*************************************/

#export_dialog, #import_dialog {
	display: none;
}

.ui-widget-overlay {
	background-color: black;
	position: absolute;
	left: 0px;
	top: 0px;
	opacity: 0.70;
	-moz-opacity: 0.70;
	filter: alpha(opacity=70); 
}

.ui-dialog {
	background: white;
	border: 1px solid #c0c0c0;
	
	padding: 2px;
	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.ui-dialog-titlebar {
	display: block;
	height: 22px;
	margin: 0;
	padding: 4px 4px 4px 8px;
	
	background-color: #86A7E3;
	font-size: 1.0em;
	line-height: 22px;
	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.ui-dialog-title {
	color: white;
	font-weight: bold;
}

.ui-dialog-titlebar-close {
	background-image: url(../images/x.png);
	background-repeat: no-repeat;
	background-position: center;
	background-color: #86A7E3;
	
	width: 22px;
	height: 22px;
	display: block;
	float: right;
	color: white;
	
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.ui-dialog-titlebar-close:hover {
	/*background-image: url(../images/x-light.png);*/
	background-color: #a6c2f5;
}

.ui-icon-closethick {
	
}

.ui-dialog-content {
	padding: 6px;
	font-size: 1.1em;
}

.ws_dialog_panel {
	height: 84px;
}

#export_dialog .ws_dialog_panel {
	height: 70px;
}

.ws_dialog_buttons {
	height: 23px;
	text-align: right;
}

.ws_dialog_buttons .button-primary {
	display: block;
	float: left;
	margin-top: 0px;
}

.ws_dialog_buttons .button {
	margin-top: 0px;
}

#import_file_selector {
	display: block;
	width: 286px;
	
	margin-top: 6px;
	margin-bottom: 12px;
	margin-left: auto;
	margin-right: auto;
}

#ws_start_import {
	min-width: 100px;
}

#import_complete_notice {
	text-align: center;
	font-size: large;
	padding-top: 25px;
}

/************************************
        Tooltips and hints
*************************************/

.ws_tooltip_trigger {
	cursor: pointer;
}

.ws_tooltip_content_list {
	list-style: disc;
	margin-left: 1em;
}

.ws_hint {
	background: #FFFFE0;
	border: 1px solid #E6DB55;

	margin-bottom: 0.5em;
	border-radius: 3px;
	position: relative;
	padding-right: 20px;
}

.ws_hint_close {
	border: 1px solid #E6DB55;
	border-right: none;
	border-top: none;
	color: #dcc500;
	font-weight: bold;
	cursor: pointer;

	width: 18px;
	text-align: center;
	border-radius: 3px;

	position: absolute;
	right: 0px;
	top: 0px;
}

.ws_hint_close:hover {
	background-color: #ffef4c;
	border-color: #e0b900;
	color: black;
}

.ws_hint_content {
	padding: 0.4em 0 0.4em 0.4em;
}

.ws_hint_content ul {
	list-style: disc;
	list-style-position: inside;
	margin-left: 0.5em;
}

#ws_sidebar_pro_ad {
	margin-top: 5px;
	margin-left: 3px;

	position: fixed;
	right: 20px;
	bottom: 40px;
	z-index: 100;
}

/************************************
        Screen meta buttons
*************************************/

/* All buttons */
#ws-pro-version-notice {
	float: right;
	height: 22px;
	padding: 0;
	margin: 0 0 0 6px;
	font-family: sans-serif;

	-moz-border-radius-bottomleft: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;

	background: #e3e3e3;

	border-right: 1px solid transparent;
	border-left: 1px solid transparent;
	border-bottom: 1px solid transparent;
	background-image: -ms-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* IE10 */
	background-image: -moz-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* Firefox */
	background-image: -o-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* Opera */
	background-image: -webkit-gradient(linear, left bottom, left top, from(#dfdfdf), to(#f1f1f1)); /* old Webkit */
	background-image: -webkit-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* new Webkit */
	background-image: linear-gradient(bottom, #dfdfdf, #f1f1f1); /* proposed W3C Markup */
}

#ws-pro-version-notice a.show-settings {
	background-image: none;
	padding:0 6px 0 6px;
}

/* "Upgrade to Pro" */
#ws-pro-version-notice {
	background-color: #00C31F;
	background-image: none;
}


#ws-pro-version-notice a.show-settings {
	font-weight: bold;
	color: #DEFFD8;
	text-shadow: none;
}

#ws-pro-version-notice a.show-settings:hover {
	color: white;
}
